<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>结构伪类</title>
		<style type="text/css">
			body p{
				background: red;
			}
			body>ul{
				background: aquamarine;
			}
			ul li:first-child{background: #FFFF00;}
			ul li:last-child{background: #006400;}
			body+p{
				background: #0000FF;
			} 
			p:nth-child(1){background: ;}
			P:nth-of-type(2){background: #DC143C;}
		</style>
	</head>
	<body>
		<p>JFJ</p>
		<p>的规范化建设的</p>
		<p>3</p>
		<ul>
			<li>744441</li>
			<li>2</li>
			<li>3</li>
			<li>8</li>
		</ul>
	</body>
</html>
